import QtQuick 2.0
import QtQuick.Window 2.10

Window {
    id: root
    width: 300
    height: 120
    title: qsTr("注意")
    visible: true
    modality:Qt.ApplicationModal
    property string funcStr: qsTr("投入")

    signal mAccept()

    Rectangle{
        anchors.fill: parent
        color: "#295282"
    }

    Text {
        y: 18
        text: qsTr("是否")+funcStr
        color: "white"
        font.pointSize: 15
        anchors.horizontalCenter: parent.horizontalCenter
    }
    EXC_Normal_BtnUncheckStyle{
        x: 19
        y: 57
        width: 120
        nameText: qsTr("确定")
        onClicked: {mAccept();root.hide()}
    }

    EXC_Normal_BtnUncheckStyle {
        x: 161
        y: 57
        width: 120
        nameText: qsTr("取消")
        onClicked: root.hide()
    }
}
